// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '客户管理',
        name: 'sly_customer_managementmodel',
        url: "/sly_customer_managementmodel/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"Customer_Code":"","Customer_Name":"","Customer_Abbreviation":"","Customer_Phone":"","Customer_Address":"","Credit_Code":"","Customer_Node":""};
    const editFormOptions = [[{"title":"编码","required":true,"field":"Customer_Code","type":"text"}],
                              [{"title":"姓名","required":true,"field":"Customer_Name","type":"text"}],
                              [{"title":"简称","required":true,"field":"Customer_Abbreviation","type":"text"}],
                              [{"title":"联系方式","required":true,"field":"Customer_Phone","type":"text"}],
                              [{"title":"地址","required":true,"field":"Customer_Address","type":"text"}],
                              [{"title":"社会信用代码","required":true,"field":"Credit_Code","type":"text"}],
                              [{"title":"备注","required":true,"field":"Customer_Node","type":"text"}]];
    const searchFormFields = {"Customer_Name":"","Customer_Address":""};
    const searchFormOptions = [[{"title":"姓名","field":"Customer_Name","type":"like"},{"title":"地址","field":"Customer_Address","type":"like"}]];
    const columns = [{field:'Id',title:'编号',type:'bigint',sort:true,width:110,readonly:true,require:true,align:'left'},
                       {field:'CreatedUserName',title:'创建人',type:'string',width:110,align:'left'},
                       {field:'UpdatedUserName',title:'更新人',type:'string',width:110,align:'left'},
                       {field:'CreateTime',title:'创建时间',type:'datetime',width:150,align:'left'},
                       {field:'UpdateTime',title:'更新时间',type:'datetime',width:150,align:'left'},
                       {field:'IsDelete',title:'是否删除',type:'sbyte',width:110,require:true,align:'left'},
                       {field:'Customer_Code',title:'编码',type:'string',width:110,require:true,align:'left'},
                       {field:'Customer_Name',title:'姓名',type:'string',width:120,require:true,align:'left'},
                       {field:'Customer_Abbreviation',title:'简称',type:'string',width:110,require:true,align:'left'},
                       {field:'Customer_Phone',title:'联系方式',type:'string',width:110,require:true,align:'left'},
                       {field:'Customer_Address',title:'地址',type:'string',width:120,require:true,align:'left'},
                       {field:'Credit_Code',title:'社会信用代码',type:'string',width:110,require:true,align:'left'},
                       {field:'Customer_Node',title:'备注',type:'string',width:180,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}